package com.punai.config.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.punai.common.annotation.Excel;
import com.punai.common.core.domain.BaseEntity;

/**
 * 清单库对象 config_inventory_lib
 *
 * @author zxw_
 * @date 2023-03-22
 */
public class ConfigInventoryLib extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * 章节id
     */
    private String chapterId;

    /**
     * 公司id
     */
    private Long companyId;
    /**
     * 规范
     */
    private String listNorm;
    /**
     * 清单编码
     */
    @Excel(name = "清单编码")
    private String listCoding;

    /**
     * 清单名称
     */
    @Excel(name = "清单名称")
    private String listName;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 专业工程
     */
    @Excel(name = "专业工程")
    private String professionalEngineering;

    /**
     * 分部工程
     */
    @Excel(name = "分部工程")
    private String divisionEngineering;

    /**
     * 特征
     */
    @Excel(name = "特征")
    private String featuresContent;

    /**
     * 计算规则
     */
    @Excel(name = "计算规则")
    private String calcuationRules;

    /**
     * 清单库类型   G 国标Q企标 F 非标
     */
    private String type;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;

    /**
     * $column.columnComment
     */
    @TableField(fill = FieldFill.INSERT)
    private Long userId;

    private Integer orderNum;


    private String remark;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }

    public String getChapterId() {
        return chapterId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public String getListNorm() {
        return listNorm;
    }

    public void setListNorm(String listNorm) {
        this.listNorm = listNorm;
    }

    public void setListCoding(String listCoding) {
        this.listCoding = listCoding;
    }

    public String getListCoding() {
        return listCoding;
    }

    public void setListName(String listName) {
        this.listName = listName;
    }

    public String getListName() {
        return listName;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getUnit() {
        return unit;
    }

    public void setProfessionalEngineering(String professionalEngineering) {
        this.professionalEngineering = professionalEngineering;
    }

    public String getProfessionalEngineering() {
        return professionalEngineering;
    }

    public void setDivisionEngineering(String divisionEngineering) {
        this.divisionEngineering = divisionEngineering;
    }

    public String getDivisionEngineering() {
        return divisionEngineering;
    }

    public void setFeaturesContent(String featuresContent) {
        this.featuresContent = featuresContent;
    }

    public String getFeaturesContent() {
        return featuresContent;
    }

    public void setCalcuationRules(String calcuationRules) {
        this.calcuationRules = calcuationRules;
    }

    public String getCalcuationRules() {
        return calcuationRules;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("chapterId", getChapterId())
                .append("companyId", getCompanyId())
                .append("listCoding", getListCoding())
                .append("listName", getListName())
                .append("unit", getUnit())
                .append("professionalEngineering", getProfessionalEngineering())
                .append("divisionEngineering", getDivisionEngineering())
                .append("featuresContent", getFeaturesContent())
                .append("calcuationRules", getCalcuationRules())
                .append("remark", getRemark())
                .append("type", getType())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
